$(function(){
    
    var ul=document.querySelector(".browse .browse_box ul");
        // console.log(scontainer_li)
        $.ajax({
            url : "../iconfont/list.json"
        })
        .then(function( res ){
            randomrain1( res.datas );
        })
        function randomrain1(list){
            // console.log(list)
            ul.innerHTML=list.map(function(item){
                return ` <li>
                <div class="img">
                    <a href="">
                        <img src=${item.img}>
                    </a>
                </div>
                <div class="detail">
                    <p class="desc">
                        <a href="">${item.title}</a>
                    </p>
                    <p class="price">
                        ￥<span>${item.price}</span>
                    </p>
                    <p class="sale">
                        已售出
                        <span class="sale-count">${item.count}</span>
                        笔
                    </p>
                </div>

            </li>`
            }).join("")
        }
})